﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace L.Basic.Log
{
    public interface ILogService
    {
        /// <summary>
        /// 保存日志信息
        /// </summary>
        /// <param name="logContent"></param>
        void Save(LogContent logContent);

       /// <summary>
        ///  查询日志信息
       /// </summary>
       /// <param name="arg">通过传入实体，当作Like参数</param>
       /// <param name="start">开始条数</param>
       /// <param name="size">返回条数，如果是-1则返回全部内容</param>
       /// <param name="count">总条数</param>
       /// <returns></returns>
        IEnumerable<LogContent> Search(LogContent arg,int start,int size,out int count);
    }
}
